initialPlayerSize = 0

def hunt_choices(round_number, current_food, current_reputation, m, player_reputations):
    global initialPlayerSize
    global lowerQuota
    global upperQuota
    hunt_decisions = []

    upperQuota = 85
    lowerQuota = 50

    #setting quota with reference to our own reputation
    if current_reputation > 50:
       #setting of quota
        upperQuota = 85
        lowerQuota = 50
    else:
        #setting of quota
        upperQuota = 90
        lowerQuota = 40

    if round_number == 1:  # to decide for round 1
        initialPlayerSize = len(player_reputations)
        #calculated at the ratio of 2:1 to get the 66% reputation from round 1
        for x in player_reputations:
            if x % 3 == 0:
                hunt_decisions.append('s')
            else:
                hunt_decisions.append('h')
    else:

        if float(len(player_reputations))/initialPlayerSize * 100 > 5:  # need to change the values
            for x in player_reputations:
                #setting decision for each individual partner
                if player_reputations(x) < lowerQuota:
                    #player low rep, we slack
                    hunt_decisions.append('s')
                elif player_reputations(x) < upperQuota:
                    #partner border range
                    hunt_decisions.append('h')
                else:
                    #partner high rep; we slack
                    hunt_decisions.append('s')
        else:
            hunt_decisions = ['s' for x in player_reputations]

    return hunt_decisions

def hunt_outcomes(food_earnings):
    pass


def round_end(award, m, number_hunters):
    pass


